﻿using Orleans;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace OrleansTest
{
    public class HelloGrain : Grain, IHello
    {
        public Task SayTo(string message, string people)
        {
            return Task.Run(() => Console.WriteLine($"xx said {message} to {people}!"));
        }
        //public void SayTo(string message, string people)
        //{
        //    Console.WriteLine($"xx said {message} to {people}!");
        //}
    }
}
